package com.card.hwatt.service;

import java.util.Date;

import com.card.hwatt.dto.PageResult;
import com.card.hwatt.dto.ReturnValue;
import com.card.hwatt.entity.*;

public interface LeaveService extends BaseService<Leave> {
	public ReturnValue save(long employeeId, String key, String value,
			Date startDate, long day, String reason);

	public PageResult<Object[]> loadAllGroup(int departmentId, String name,
			String startDate, String endDate, int page, int rows);
}
